// PlayerFish.h: interface for the CPlayerFish class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PLAYERFISH_H__E3B5736E_B332_4A9F_A58B_2EE1BC6FBF42__INCLUDED_)
#define AFX_PLAYERFISH_H__E3B5736E_B332_4A9F_A58B_2EE1BC6FBF42__INCLUDED_

#include "cv.h"
#include "highgui.h"
#include "BasicFish.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CPlayerFish  
{
public:
	void EatSmallFish(CBasicFish *paifish);
	void KeyMove(int key);
	void move(int ditx,int dity);
	void DrawToBack(IplImage* bkImage);
	void Initialize();
	CPlayerFish();
	virtual ~CPlayerFish();
	IplImage * m_playerImg;
	bool IsLive;
	int m_num;
	int m_px;
	int m_py;
	int m_direction;
	int m_score;
	int m_barrier;
};

#endif // !defined(AFX_PLAYERFISH_H__E3B5736E_B332_4A9F_A58B_2EE1BC6FBF42__INCLUDED_)
